package com.yeyks.common.param;

import com.yeyks.common.annotation.StrNotEmpty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author fuchangshuai
 * @date 2019/07/05 10:34
 */
@Data
public class StatisticalParam implements Serializable {
    private static final long serialVersionUID = 2038865327612834668L;

    @ApiModelProperty(value = "开始时间")
    @NotNull(message = "开始时间必传")
    private Long orderStart;
    @ApiModelProperty(value = "结束时间")
    @NotNull(message = "结束时间必传")
    private Long orderEnd;
    @ApiModelProperty(value = "订单类型逗号隔开，0 c2b，1vip，2b2c，3miniVip")
    @StrNotEmpty(message = "订单类型不能为空")
    private String vipFlag;
}
